//
//  CellOfCommendSearchViewController.m
//  FreeTravel
//
//  Created by 徐康 on 16/9/1.
//  Copyright © 2016年 KX. All rights reserved.
//

#import "CellOfCommendSearchViewController.h"
#import "FreeTravelMacro.h"
@implementation CellOfCommendSearchViewController
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.hotLabel = [[UILabel alloc]init];
        [self.contentView addSubview:self.hotLabel];
    }
    return self;
}
- (void)layoutSubviews{
    [super layoutSubviews];
    self.hotLabel.frame = self.contentView.bounds;
    self.hotLabel.textColor = [UIColor grayColor];
    self.hotLabel.textAlignment = NSTextAlignmentCenter;
    self.hotLabel.layer.borderColor = COLORFORFREETRAVEL.CGColor;
    self.hotLabel.layer.borderWidth = 1;
    self.hotLabel.layer.cornerRadius = 17;
    self.hotLabel.layer.masksToBounds = YES;
    
}

@end
